import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import router from './router'
import axios from 'axios'
// import moment from "moment"
import { MessageBox, Message } from 'element-ui'
import XLSX from 'xlsx'
// import * as XLSX from 'xlsx/xlsx.mjs'
// import { createRequire } from 'module';
// 

// 动态获取请求地址
// axios.defaults.baseURL = 'http://localhost:8082'
Vue.config.productionTip = false
Vue.prototype.$ajax = axios
Vue.prototype.XLSX = XLSX
// const require = createRequire(import.meta.url);
new Vue({

  router,
  render: h => h(App)
}).$mount('#app')
